<!-- INCLUDE overall_header.html -->

<!-- IF S_MOTIONPICTURE --><img src="{S_MOTIONPICTURE_IMG_URL}" align="right" /><!-- ENDIF -->

<h1>{L_TITLE}</h1>
<p>{L_TITLE_EXPLAIN}</p>

<!-- IF S_ERROR -->
  <div class="errorbox">
  	<h3>{L_WARNING}</h3>
  	<p>{ERROR_MSG}</p>
  </div>
<!-- ENDIF -->

<!-- IF .options -->
  <form id="acp_socialnet" method="post" action="{U_ACTION}">
  	<!-- BEGIN options -->
  	<!-- IF options.S_LEGEND -->
  	<!-- IF not options.S_FIRST_ROW -->
  	</fieldset>
  	<!-- ENDIF -->
  	<fieldset>
  		<legend>{options.LEGEND}</legend>
  		<!-- ELSE -->
  
  		<dl>
  			<dt>
  				<label for="{options.KEY}">{options.TITLE}:</label>
  				<!-- IF options.S_EXPLAIN -->
  				<br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF -->
  			</dt>
  			<dd>{options.CONTENT}</dd>
  		</dl>
  		<!-- ENDIF -->
  		<!-- END options -->
  
  		<!-- IF S_AUTH -->
  		<!-- BEGIN auth_tpl -->
  		{auth_tpl.TPL}
  		<!-- END auth_tpl -->
  		<!-- ENDIF -->
  
  	</fieldset>
  	<p class="submit-buttons">
  		<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
  		<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
  	</p>
  	{S_FORM_TOKEN}
  </form>
<!-- ELSE -->
  {L_SN_ACP_NOTHING_TO_SET}
<!-- ENDIF -->

<!-- IF B_ACP_SN_IM -->
  <form id="acp_socialnet_purge" method="post" action="{U_ACTION}">
  	<fieldset>
  		<legend>{L_PURGE}</legend>
  		<dl<!-- IF SN_IM_AUTO_PURGE --> style="display:none"<!-- ENDIF -->>
  			<dt<!-- IF SN_IM_AUTO_PURGE --> class="disabled"<!-- ENDIF -->><label for="snImPurgeMSGs">{L_IM_PURGE_ALL_MSG}:</label><br />{L_IM_PURGE_ALL_MSG_EXPLAIN}</dt>
  			<dd>
  				<input type="text" name="sn_im_purge_days" value="{SN_IM_PURGE_DAYS}" class="<!-- IF not SN_IM_AUTO_PURGE -->inputbox<!-- ELSE -->disabled<!-- ENDIF -->" size="5"<!-- IF SN_IM_AUTO_PURGE --> disabled="disabled"<!-- ENDIF --> /> {L_DAYS}
  				<input type="submit" name="sn_im_purge_all_msg" id="snImPurgeMSGs" value="{L_RUN}" class="button2<!-- IF SN_IM_AUTO_PURGE --> disabled<!-- ENDIF -->"<!-- IF SN_IM_AUTO_PURGE --> disabled="disabled"<!-- ENDIF --> />
  			</dd>
  		</dl>
  		<dl>
  			<dt><label for="snImCloseAllBOX">{L_IM_PURGE_ALL_CHATBOX}:</label><br />{L_IM_PURGE_ALL_CHATBOX_EXPLAIN}</dt>
  			<dd>
  				<input type="text" name="sn_im_close_days" value="{SN_IM_CLOSE_DAYS}" class="inputbox" size="5" /> {L_DAYS}
  				<input type="submit" name="sn_im_close_all_chatbox" id="snImCloseAllBOX" value="{L_RUN}" class="button2" />
  			</dd>
  		</dl>
  	</fieldset>
  </form>
<!-- ENDIF -->

<!-- IF .sn_basictools -->
  <form id="acp_socialnet_sn_basictools" method="post" action="{U_ACTION}">
  	<fieldset>
  		<legend>{L_USER_TOOLS}</legend>
  		<!-- IF SN_BASICTOOLS_NEED_USERNAME -->
  		<dl>
  			<dt><label for="username">{L_FIND_USERNAME}:</label></dt>
  			<dd><input class="text medium" type="text" id="username" name="username" /></dd>
  			<dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]
  				<!--label><input type="checkbox" class="radio" id="anonymous" name="u" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label--></dd>
  		</dl>
  		<!-- ENDIF -->
  		<dl>
  			<dt><label for="quicktools">{L_QUICK_TOOLS}:</label></dt>
  			<dd><select id="quicktools" name="action"><option value="">{L_SELECT_OPTION}</option><!-- BEGIN sn_basictools --><option value="{sn_basictools.MODE}"<!-- IF sn_basictools.SELECTED -->selected="selected"<!-- ENDIF -->>{sn_basictools.NAME}</option><!-- END sn_basictools --></select></dd>
  		</dl>
  		<p class="quick">
  			<input class="button1" type="submit" name="sn_basictools_submit" value="{L_SUBMIT}" />
  			{S_FORM_TOKEN}
  		</p>
  	</fieldset>
  </form>
<!-- ENDIF -->

<!-- IF B_ACP_SN_MAINPAGE -->
  <form id="acp_socialnet_modules" method="post" action="{U_ACTION}">
  <!-- IF not B_ACP_MP_IS_SET_AS_MAINPAGE -->
    <fieldset>
    	<legend>{L_ACP_SN_MAINPAGE_IS_MAIN}</legend>
  			<strong>{L_ACP_SN_MAINPAGE_IS_MAIN_EXPLAIN}</strong><br /><br />
  	    {L_ACP_SN_MAINPAGE_IS_MAIN_OPEN_FIND}
  	    <fieldset><code>DirectoryIndex</code></fieldset>
  	    {L_ACP_SN_MAINPAGE_IS_MAIN_AFTER_ADD}
  	    <fieldset><code> mainpage.php</code></fieldset>
  	    {L_ACP_SN_MAINPAGE_IS_MAIN_SAVE}<br /><br />
  	    <strong>{L_ACP_SN_MAINPAGE_IS_MAIN_NO_DIRECTORY_INDEX}</strong><br />
  	    <fieldset><code>DirectoryIndex mainpage.php index.php index.html index.htm</code></fieldset>
    </fieldset>
  <!-- ELSE -->
    <fieldset>
    	<legend>{L_ACP_SN_MAINPAGE_NOT_MAIN}</legend>
  			<strong>{L_ACP_SN_MAINPAGE_NOT_MAIN_EXPLAIN}</strong><br /><br />
  	    {L_ACP_SN_MAINPAGE_NOT_MAIN_OPEN_FIND}
  	    <fieldset><code>mainpage.php</code></fieldset>
  	    {L_ACP_SN_MAINPAGE_NOT_MAIN_DELETE}
    </fieldset>
  <!-- ENDIF -->
    <fieldset>
    	<legend>{L_ACP_SN_MAINPAGE_WELCOME}</legend>
  			<strong>{L_ACP_SN_MAINPAGE_WELCOME_EXPLAIN}</strong><br /><br />
  	    {L_ACP_SN_MAINPAGE_WELCOME_INSTRUCTIONS}
  	    <fieldset><code>'SN_MP_WELCOME_TITLE'</code></fieldset>
  	    {L_ACP_SN_MAINPAGE_WELCOME_EDIT}
    </fieldset>
  </form>
<!-- ENDIF -->

<!-- IF B_ACP_SN_PROFILE -->
  <form id="acp_socialnet_modules" method="post" action="{U_ACTION}">
    <fieldset>
      <legend>{L_SN_PROFILE_REPORT_REASONS}</legend>
        <strong>{L_SN_PROFILE_REPORT_REASONS_EXPLAIN}</strong><br /><br />
        <!-- IF .reason -->  
        	<table cellspacing="2">
        		<col class="row2" /><col class="row2" />
        		<tbody>
        		<!-- BEGIN reason -->
        			<tr>
        				<td>
        					<strong>{reason.TEXT}</strong>
        				</td>
        				<td style="width: 10%; text-align: center; white-space: nowrap;">
        					<a href="{reason.U_DELETE}">{ICON_DELETE}</a>
        				</td>
        			</tr>
        		<!-- END reason -->
        		</tbody>
        	</table>
        <!-- ELSE -->
          <div class="errorbox">{L_SN_PROFILE_NO_REASON}</div>
        <!-- ENDIF -->  
    </fieldset>
  </form>
  
  <form method="post" action="">
    <fieldset class="quick">
    	<input class="post" type="text" id="reason_text" name="reason_text" value="" />
      <input class="button1" type="submit" id="add_reason" name="add_reason" value="{L_SN_PROFILE_ADD_REASON}" />&nbsp;
      {S_FORM_TOKEN} 
    </fieldset>
  </form>
<!-- ENDIF -->

<!-- IF SN_VERSION_AVAILABLE -->

  <h2>{L_VERSION_CHECK}</h2>
  
  <!-- INCLUDE socialnet_update.html -->
  
  <!-- IF .avail_module -->
    <fieldset>
    	<legend>{L_SN_AVAILABLE_MODULES}</legend>
    		<!-- BEGIN avail_module -->
    		<dl style="background: transparent url('http://socialnetwork.phpbb3hacks.com/socialnet/styles/images/{avail_module.CODE_NAME}.png') no-repeat 0 0;padding-left: 50px;">
    			<dt class="module" style="background: transparent url('http://socialnetwork.phpbb3hacks.com/socialnet/styles/images/module_update{avail_module.STATUS}.png') no-repeat 100% 0;min-height:50px">
    				<label>{avail_module.NAME}</label>
    				<!-- IF avail_module.MSG --><p>{avail_module.MSG}</p><!-- ENDIF -->
    			</dt>
    			<dd class="version">{L_VERSION_AVAILABLE}: <strong>{avail_module.VERSION}</strong></dd>
    			<dd class="version">{L_VERSION_INSTALLED}: <strong><!-- IF avail_module.INSTALLED_VERSION neq '' -->{avail_module.INSTALLED_VERSION}<!-- ELSE -->{L_NOT_INSTALLED}<!-- ENDIF --></strong></dd>
    			<!-- IF avail_module.STATUS neq '1' -->
    			<dd class="download">
    				<!-- IF avail_module.INSTALLED_VERSION eq '' -->
    				<!-- IF avail_module.B_PAY -->
    				{L_BUY_HERE}:
    				<!-- ELSE -->
    				{L_DOWNLOAD}:
    				<!-- ENDIF -->
    				<a href="{avail_module.BUY}" target="_blank"><strong>{avail_module.DOWNLOAD}</strong></a>
    				<!-- ELSE -->
    				{L_UPDATE_TO_LATEST}: <a href="{avail_module.DOWNLOAD}" target="_blank"><strong>{avail_module.DOWNLOAD}</strong></a>
    				<!-- ENDIF -->
    			</dd>
          <!-- ENDIF -->
    		</dl>
    		<!-- END avail_module -->
    </fieldset>
  <!-- ENDIF -->
  
  <h2>{L_ACP_SN_LIKE_US_FB}</h2>
  <p>{L_ACP_SN_LIKE_US_FB_EXPLAIN}</p>
  <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FphpBB-Social-Network%2F180271885389370&amp;send=false&amp;layout=standard&amp;width=650&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=25&amp;appId=217550038308424" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:650px; height:25px;" allowTransparency="true"></iframe>
  
  <h2>{L_ACP_SN_CONTRIBUTE}</h2>
  <p>{L_ACP_SN_CONTRIBUTE_EXPLAIN}</p>
      
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->